package com.loveyukari.support;

import java.io.Serializable;

import net.sf.json.JSONObject;

/**
*
*yangshaohua
*2017年10月11日上午10:18:48
**/
public class SocketResult implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1136583726712241796L;
	private int status;
	private String message = "";
	private String type;
	private Object data;
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public Object getData() {
		return data;
	}
	public void setData(Object data) {
		this.data = data;
	}
	@Override
	public String toString() {
		return JSONObject.fromObject(this).toString();
	}
	
	
	
	

}
